package com.fs.controller.vo.cleaner;

import com.fs.service.bo.cleaner.BoCleaner;
import com.sun.istack.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
public class RespCleaner {

    private Integer id;
    private String name;
    private String phone;

    public RespCleaner(BoCleaner cleaner) {
        this.id = cleaner.getId();
        this.name = cleaner.getName();
        this.phone = cleaner.getPhone();
    }
}
